package com.colin.app.activity.senior;

import android.animation.AnimatorSet;
import android.animation.PropertyValuesHolder;
import android.animation.ValueAnimator;
import android.view.View;
import android.view.animation.Animation;
import android.widget.TextView;

import com.colin.app.bean.ItemBean;
import com.colin.library.base.BaseModel;
import com.colin.library.base.BasePresenter;
import com.colin.library.base.BaseView;

import java.util.List;

/**
 * Created by Colin on 2017/2/7.
 */

public interface SeniorContract {

    interface SeniorView extends BaseView {

    }

    interface SeniorPresenter extends BasePresenter {
        //动画
        void animationAlpha(View view, TextView text_animation_name);

        void animationRotate(View view, TextView text_animation_name);

        void animationRotateSelf(View view, TextView text_animation_name);

        void animationTranslate(View view, TextView text_animation_name);

        void animationScale(View view, TextView text_animation_name);

        void animationScaleSelf(View view, TextView text_animation_name);

        void animationSet(View view, TextView text_animation_name);

        void animationPropertyValuesHolder(View view, TextView text_animation_name);

        void animationSetCopyHolder(View view, TextView text_animation_name);

        void animationValues(View view, TextView text_animation_name);

        void animationXML(View view, TextView text_animation_name);
        //通知
        void notifyBasic();

        void collapsedNotify();

        void notifyHeadsUp();

        void notifyBase();

        void notifyBigStyle();

        void notifyLong();

        void notifyByRemoteViews();

        void notifyClear();

        void notifyClearAll();

        void showAlertProcess();

        void showAlertThread();


        void showAlertSummary();

        List<ItemBean> listGetItemData(boolean isRefresh);

        void setPullRefreshViewChild(int position);

        int getPullRefreshViewChild();
    }

    interface SeniorModel extends BaseModel {


        Animation getAlphaAnimation();

        Animation getRotateAnimation();

        Animation getRotateAnimationSelf();

        Animation getTranslateAnimation();

        Animation getScaleAnimation();

        Animation getScaleAnimationSelf();

        Animation getAnimationSet();

        List<PropertyValuesHolder> getAnimationPropertyValuesHolderList();

        AnimatorSet getAnimationSetCopyHolder(View view);

        ValueAnimator getValuesAnimation();

        List<ItemBean> getItemBeanList(int page);

        void setPullRefreshViewChild(int position);

        int getPullRefreshViewChild();

    }
}
